Fix lintian warnings
authorAnton Gladky <gladk@debian.org>
Wed, 24 Nov 2021 17:02:15 +0000 (18:02 +0100)
committerAnton Gladky <gladk@debian.org>
Wed, 24 Nov 2021 17:02:15 +0000 (18:02 +0100)
debian/rules

index 5e97368b878c8b3c2901fc6be04f9e32018712a7..00aac34ebbc9e666e0c73268ffc29ed185ae730d 100755 (executable)
@@ -15,7 +15,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc sh4))
 endif
 
 %:
-       dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
+       dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python3 --with javahelper
 
 extra_flags +=  \
        -DBUILD_SHARED_LIBS=ON \
@@ -102,3 +102,6 @@ execute_after_dh_install:
        find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true
        find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.0/doxygen -name "_formulas.log" -exec rm {} \; || true
        find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -exec rm {} \; || true
+
+execute_after_dh_installdocs:
+       find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/raw\.githubusercontent\.com//g'